import uviewPlus from 'uview-plus'
import { createSSRApp } from 'vue';
import App from './App.vue';

import { setupPinia } from './sheep/store';



export function createApp() {

  const app = createSSRApp(App);
  app.use(uviewPlus, ()=>{
	  return {
		  options: {
			  config: {
				  loadFontOnce: true,
				  iconUrl: 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'
			  }
		  }
	  }
  })
  
  setupPinia(app);

  return {
    app,
  };
}
